using System;

namespace Tarkin.InfrastructureLibrary.Core.Basic
{
    /// <summary>
    /// The Type class is the implementation of Type abstract class as defined by section 
    /// 10.1.4 of the Unified Modeling Language: Infrastructure specfication (version 2.1.1,
    /// dated 07-02-06).
    /// </summary>
    /// <remarks>Tarkin classes are NOT thread-safe.</remarks>
    public abstract class Type : NamedElement
    {

#region Private Members

        /// <summary>
        /// The containig package.
        /// </summary>
        private Package package = null;

#endregion


#region Constructors

        /// <summary>
        /// Default constructor.
        /// </summary>
        public Type () : base ()
        { }

        /// <summary>
        /// Overloaded constructor.
        /// </summary>
        /// <param name="name">Name for the type.</param>
        public Type ( string name ) : base ( name )
        { }

#endregion


#region Public Properties

        /// <summary>
        /// The containig package.
        /// </summary>
        public Package Package
        {
            get
            {
                return package;
            }

            set
            {
                package = value;
            }
        }

#endregion

    }
}
